using Newtonsoft.Json;

namespace Betfair.Api.Responses
{
    public sealed class CompetitionResponse
    {
        public CompetitionResponse(Competition competition, int marketCount, string region)
        {
            Competition = competition;
            MarketCount = marketCount;
            Region = region;
        }

        public Competition Competition { get; private set; }
        public int MarketCount { get; set; }

        [JsonProperty("competionRegion")]
        public string Region { get; private set; }
    }
}